MailPoet\Config\Populator C

Total Complexity 118
Dependencies 37
Dependents 3
Total lines 842
Lines of code 738
Logical lines of code 286
Comment lines 25
Methods 30
Properties 10

Methods 30

Method Rating Maintainability Complexity Lines of code
migrateFormPlacement()
C
35 26 84
createDefaultSettings()
B
37 18 72
addPlacementStatusToForms()
B
44 19 43
createMailPoetPage()
S
51 6 27
newsletterOptionFields()
S
40 1 91
__construct()
S
37 1 90
populate()
S
52 5 26
createDefaultUsersFlags()
S
56 5 18
moveGoogleAnalyticsFromPremium()
S
51 3 30
updateMetaFields()
S
61 3 12
pauseTasksForPausedNewsletters()
S
53 2 25
removeDuplicates()
S
56 2 18
createDefaultSegment()
S
57 2 17
createOrUpdateUserFlag()
S
58 2 15
newsletterTemplates()
S
59 2 15
updateSentUnsubscribeLinksToInstantUnsubscribeLinks()
S
61 2 13
updateLastSubscribedAt()
S
61 2 13
scheduleTask()
S
61 2 13
up()
S
54 1 24
createSourceForSubscribers()
S
56 1 21
scheduleAuthorizedSendingEmailsCheck()
S
66 2 9
scheduleBeamer()
S
68 2 8
enableStatsNotificationsForAutomatedEmails()
S
66 2 8
rowExists()
S
63 1 10
scheduleUnsubscribeTokens()
S
72 1 6
scheduleSubscriberLinkTokens()
S
72 1 6
insertRow()
S
70 1 7
scheduleInitialInactiveSubscribersCheck()
S
72 1 6
updateRow()
S
69 1 8
detectReferral()
S
82 1 3